/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.jobmesmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 就业信息Entity
 * @author zms
 * @version 2018-03-23
 */
public class JobMes extends DataEntity<JobMes> {
	
	private static final long serialVersionUID = 1L;
	private String jobStype;		// 就业信息
	private String jobShort;		// 简介
	private String jobImg;		// 图片
	
	public JobMes() {
		super();
	}

	public JobMes(String id){
		super(id);
	}

	@Length(min=0, max=30, message="就业信息长度必须介于 0 和 30 之间")
	public String getJobStype() {
		return jobStype;
	}

	public void setJobStype(String jobStype) {
		this.jobStype = jobStype;
	}
	
	@Length(min=0, max=525, message="简介长度必须介于 0 和 525 之间")
	public String getJobShort() {
		return jobShort;
	}

	public void setJobShort(String jobShort) {
		this.jobShort = jobShort;
	}
	
	@Length(min=0, max=255, message="图片长度必须介于 0 和 255 之间")
	public String getJobImg() {
		return jobImg;
	}

	public void setJobImg(String jobImg) {
		this.jobImg = jobImg;
	}
	
}